﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DomesticPestLib
{
    public class EntyLayer
    {
        // Country
        #region
        //Country Variables
        string cCode, cName,cGeoRegion,cState,cLocation,cGIS;
        
        
        //Country Properties
       
        public string Code
        {
            get { return cCode; }
            set { cCode = value; }
        }

        public string Name
        {
            get { return cName; }
            set { cName = value; }
        }

        public string GeoRegion
        {
            get { return cGeoRegion; }
            set { cGeoRegion = value; }
        }

        public string State
        {
            get { return cState; }
            set { cState = value; }
        }

        public string Location
        {
            get { return cLocation; }
            set { cLocation = value; }
        }

        public string GIS
        {
            get { return cGIS; }
            set { cGIS = value; }
        }


        #endregion

        // Commodity
        #region
        //Commodity Variables
        string cBCode, cCategory, cCName, cSName, cSynonym, cSubSpcs, cFName, cOName;

        //Commodity Properties

        public string BCode
        {
            get { return cBCode; }
            set { cBCode = value; }
        }

        public string Category
        {
            get { return cCategory; }
            set { cCategory = value; }
        }

        public string CName
        {
            get { return cCName; }
            set { cCName = value; }
        }

        public string SName
        {
            get { return cSName; }
            set { cSName = value; }
        }

        public string Synonym
        {
            get { return cSynonym; }
            set { cSynonym = value; }
        }

        public string SubSpcs
        {
            get { return cSubSpcs; }
            set { cSubSpcs = value; }
        }

        public string FName
        {
            get { return cFName; }
            set { cFName = value; }
        }

        public string OName
        {
            get { return cOName; }
            set { cOName = value; }
        }
        #endregion

        // Pest
        #region
        //Pest Variables
        string pBCode, pCategory, pCName, pSName,pKngdm,pPhylum,pSubPhylum,pSynonym,pClass,pSubClass, pFName,pSubFName,pOrder,painfo,pEcoImp;

        //Pest Properties

        public string PBCode
        {
            get { return pBCode; }
            set { pBCode = value; }
        }

        public string PCategory
        {
            get { return pCategory; }
            set { pCategory = value; }
        }

        public string PCName
        {
            get { return pCName; }
            set { pCName = value; }
        }

        public string PSName
        {
            get { return pSName; }
            set { pSName = value; }
        }

        public string PPhylum
        {
            get { return pPhylum; }
            set { pPhylum = value; }
        }

        public string PSubPhylum
        {
            get { return pSubPhylum; }
            set { pSubPhylum = value; }
        }

        public string PSynonym
        {
            get { return pSynonym; }
            set { pSynonym = value; }
        }

        public string PClass
        {
            get { return pClass ; }
            set { pClass = value; }
        }

        public string PSubClass
        {
            get { return pSubClass ; }
            set { pSubClass  = value; }
        }

        public string PFName
        {
            get { return pFName; }
            set { pFName  = value; }
        }

        public string PSubFName
        {
            get { return pSubFName ; }
            set { pSubFName  = value; }
        }

        public string POrder
        {
            get { return pOrder; }
            set { pOrder = value; }
        }
        
        public string Painfo
        {
            get { return painfo; }
            set { painfo = value; }
        }

        public string PEcoImp
        {
            get { return pEcoImp; }
            set { pEcoImp = value; }
        }
        #endregion

        // Category
        #region
        //Category Variables
        string catCode, catCategory;


        //Category Properties

        public string CatCode
        {
            get { return catCode; }
            set { catCode = value; }
        }

        public string CatCategory
        {
            get { return catCategory; }
            set { catCategory = value; }
        }

        #endregion

        // Info
        #region
        //Info Variables
        int iSl;
        string iInfoCd,iAuthor,iYear,iTitle,iJournal,iVol,iPageref,iNote,iTDate,iUserID;


        //Info Properties

        public int SL
        {
            get { return iSl; }
            set { iSl = value; }
        }

        public string InfoCd
        {
            get { return iInfoCd ; }
            set { iInfoCd = value; }
        }

        public string Author
        {
            get { return iAuthor ; }
            set { iAuthor = value; }
        }

        public string Year
        {
            get { return iYear; }
            set { iYear = value; }
        }

        public string Title
        {
            get { return iTitle; }
            set { iTitle = value; }
        }

        public string Journal
        {
            get { return iJournal; }
            set { iJournal = value; }
        }

        public string Vol
        {
            get { return iVol; }
            set { iVol = value; }
        }
        
        public string Pageref
        {
            get { return iPageref; }
            set { iPageref = value; }
        }

        public string Note
        {
            get { return iNote; }
            set { iNote = value; }
        }

        public string TDate
        {
            get { return iTDate; }
            set { iTDate = value; }
        }

        public string UserID
        {
            get { return iUserID; }
            set { iUserID = value; }
        }
        #endregion


        // Trans
        #region


        //Trans Variables

        string tTranCd, tPestCd, tHostCd, tCountryCd, tTranDate, tUID;


        //Trans Properties

        public string TranCd
        {
            get { return tTranCd; }
            set { tTranCd = value; }
        }

        public string PestCd
        {
            get { return tPestCd; }
            set { tPestCd = value; }
        }

        public string HostCd
        {
            get { return tHostCd; }
            set { tHostCd = value; }
        }

        public string CountryCd
        {
            get { return tCountryCd; }
            set { tCountryCd = value; }
        }

        public string TranDate
        {
            get { return tTranDate; }
            set { tTranDate = value; }
        }

        public string UID
        {
            get { return tUID; }
            set { tUID = value; }
        }

        #endregion


        //Pest Intrution
        #region
        //Pest Intrution Variables
        string piCd, piPestCd, piHostCd, piCountryCd,piAInfo;
        //Trans Properties

        public string PICd
        {
            get { return piCd; }
            set { piCd = value; }
        }

        public string PIPestCd
        {
            get { return piPestCd; }
            set { piPestCd = value; }
        }

        public string PIHostCd
        {
            get { return piHostCd; }
            set { piHostCd = value; }
        }

        public string PICountryCd
        {
            get { return piCountryCd; }
            set { piCountryCd = value; }
        }

        public string PIAInfo
        {
            get { return piAInfo ; }
            set { piAInfo  = value; }
        }

        

        #endregion

        // PiCountry
        #region
        //PiCountry Variables
        string piCCode, piPCode;


        //PiCountry Properties

        public string PICCode
        {
            get { return piCCode; }
            set { piCCode = value; }
        }

        public string PIPCode
        {
            get { return piPCode ; }
            set { piPCode  = value; }
        }

        #endregion

        // Host_Pest
        
        #region
        //Host_Pest Variables
        string hCode, hPCode,hPName,hPACode;


        //Host_Pest Properties

        public string HCode
        {
            get { return hCode; }
            set { hCode = value; }
        }

        public string HPCode
        {
            get { return hPCode; }
            set { hPCode = value; }
        }

        public string HPName
        {
            get { return hPName; }
            set { hPName = value; }
        }

        public string HPACode
        {
            get { return hPACode; }
            set { hPACode = value; }
        }
        #endregion


    }
}
